package img

func InList[T comparable](key T, keyList []T) bool {
	for _, i2 := range keyList {
		if i2 == key {
			return true
		}

	}
	return false
}
